﻿using BrnMall.Manager.Domain.User;
using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace QIDong.WeApp.Models
{
    public class UserCashModel
    {
    }

    /// <summary>
    /// 充值赠送的选项列表
    /// </summary>
    public class CashItemListModel
    {
        /// <summary>
        /// 数据列表
        /// </summary>
        public List<CashItemTitle> List { get; set; }
        /// <summary>
        /// 分页对象
        /// </summary>
        public PageModel PageModel { get; set; }
    }

    /// <summary>
    /// 赠送选项实体
    /// </summary>
    public class CashItemTitle
    {
        public int id { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>
        public int StoreId { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 赠送金额
        /// </summary>
        public decimal GiveAmount { get; set; }
        /// <summary>
        /// 赠送说明
        /// </summary>
        public string title { get; set; }
    }

    public class CashRecordListModel
    {
        /// <summary>
        /// 数据列表
        /// </summary>
        public Page<CashRecord> List { get; set; }
        /// <summary>
        /// 分页对象
        /// </summary>
        public PageModel PageModel { get; set; }
    }
}